package com.smarthealthcare.wardrounds.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;

/**
 * 查房信息对象 wardrounds
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class Wardrounds extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 患者id 关联患者表 */
    @Excel(name = "患者id 关联患者表")
    private Long patientId;

    /** 检查医生id 关联医生表 */
    @Excel(name = "检查医生id 关联医生表")
    private Long doctorId;

    /** 查房日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "查房日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 体温 */
    @Excel(name = "体温")
    private Long bodytemperature;

    /** 心率 */
    @Excel(name = "心率")
    private Long heartrate;

    /** 血压（高压） */
    @Excel(name = "血压", readConverterExp = "高=压")
    private Long highpressure;

    /** 血压（低压） */
    @Excel(name = "血压", readConverterExp = "低=压")
    private Long lowpressure;

    /** 呼吸频率 */
    @Excel(name = "呼吸频率")
    private Long breathe;

    /** 患者情况 */
    @Excel(name = "患者情况")
    private String situation;

    /** 查房备注 */
    @Excel(name = "查房备注")
    private String notes;

    /** 查房次数 */
    @Excel(name = "查房次数")
    private String number;

    /** 逻辑删除 */
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setBodytemperature(Long bodytemperature) 
    {
        this.bodytemperature = bodytemperature;
    }

    public Long getBodytemperature() 
    {
        return bodytemperature;
    }
    public void setHeartrate(Long heartrate) 
    {
        this.heartrate = heartrate;
    }

    public Long getHeartrate() 
    {
        return heartrate;
    }
    public void setHighpressure(Long highpressure) 
    {
        this.highpressure = highpressure;
    }

    public Long getHighpressure() 
    {
        return highpressure;
    }
    public void setLowpressure(Long lowpressure) 
    {
        this.lowpressure = lowpressure;
    }

    public Long getLowpressure() 
    {
        return lowpressure;
    }
    public void setBreathe(Long breathe) 
    {
        this.breathe = breathe;
    }

    public Long getBreathe() 
    {
        return breathe;
    }
    public void setSituation(String situation) 
    {
        this.situation = situation;
    }

    public String getSituation() 
    {
        return situation;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("doctorId", getDoctorId())
            .append("creatTime", getCreatTime())
            .append("bodytemperature", getBodytemperature())
            .append("heartrate", getHeartrate())
            .append("highpressure", getHighpressure())
            .append("lowpressure", getLowpressure())
            .append("breathe", getBreathe())
            .append("situation", getSituation())
            .append("notes", getNotes())
            .append("number", getNumber())
            .append("del", getDel())
            .toString();
    }
}
